package entity

type Manager struct {
	BaseEntity
	ManagerId int    `gorm:"manager_id" from:"manager_id" json:"manager_id"`
	Account   string `gorm:"account" from:"account" json:"account"`
	Password  string `gorm:"password" from:"password" json:"password"`
	UserName  string `gorm:"user_name" from:"user_name" json:"user_name"`
	Sex       int8   `gorm:"sex" from:"sex" json:"sex"`
}

func (m *Manager) TableName() string {
	return "a_manager"
}
